
<#include "/common/head.html"/>

 <div class="easyui-panel updatePage" data-options="fit:true,border:false">
    <form id="ff" class="easyui-form" method="post">
        <table class="table1">
        	<tr>           		
               	<td colspan="4" align="center"><span style="font-size:20px;">${model.out_name!''}</span></td>
        	</tr>
        	<tr>	
           		<th><span>出库单编号：</span></th>
               	<td><span class="valueSpan">${model.out_no!''}</span></td>
        		
           		<th><span>出库单条码：</span></th>
               	<td><span class="valueSpan">${model.out_barcode!''}</span></td>
            </tr>        			
            <tr>
           		<th><span>出库类型：</span></th>
               	<td><span class="valueSpan">${model.out_type!''}</span></td>
        		
           		<th><span>仓库编号：</span></th>
               	<td><span class="valueSpan">${model.storage_no!''}</span></td> 
            </tr>
        		
            <tr>
           		<th><span>填单人员：</span></th>
               	<td><span class="valueSpan">${model.out_user!''}</span></td>
               	
            	<th><span>填单时间：</span></th>
               	<td><span class="valueSpan">${model.out_time!''}</span></td>
               	
           		
        	</tr>
           	 <tr>
           		<th><span>审核人员：</span></th>
               	<td>
               		<input class="easyui-textbox" type="text" name="audit_user" value="${session['sysUser'].user_name}" data-options="readonly:true"></input>
           		</td>	
           		
           		<th><span>审核时间：</span></th>
               	<td>
               		<input class="easyui-datetimebox" type="text" name="audit_time" value="${model.audit_time!''}" data-options=""></input>
           		</td>  
            </tr> 
            <tr>            	
            	<th><span>操作类型：</span></th>
                <td ><span class="valueSpan">${model.operate_type!''}</span></td> 
           		<th><span>单据状态：</span></th>
               	<td>
               		<input id="out_status" name="out_status" class="easyui-combobox" value="${model.out_status!''}" data-options="
               				
               				valueField: 'id',
        					textField: 'text',
        					data:[
        						{id:'', text:''}<#list dictDataout_status.keySet() as key>,{id:'${key}', text:'${dictDataout_status.get(key)}'}</#list>
	               			]
               		"/>
           		</td>
            </tr> 
            <!-- <tr>
           		<th><span>打印人员：</span></th>
               	<td>
               		<input class="easyui-textbox" type="text" name="print_user" value="${model.print_user!''}" data-options=""></input>
           		</td>
           		
           		<th><span>打印时间：</span></th>
               	<td>
               		<input class="easyui-datebox" type="text" name="print_time" value="${model.print_time!''}" data-options=""></input>
           		</td>           		
            </tr> -->           
            <!-- <tr>
           		<th><span>出库目标：</span></th>
               	<td>
               		<input class="easyui-textbox" type="text" name="out_target" value="${model.out_target!''}" data-options=""></input>
           		</td>
           		
           		<th><span>出货批次：</span></th>
               	<td>
               		<input class="easyui-textbox" type="text" name="out_batch" value="${model.out_batch!''}" data-options=""></input>
           		</td>
           		
                <td colspan="2"></td>
            </tr>
             -->
        </table>
    </form>
</div>
<script>
top.window.subPage.save = save;
function save() {
	if($("#zcurdHeadTable").form('validate')) {
		$.post("publish", getParam(), function(data) {
			top.window.closeWindow();
			top.window.subPage.loadCurrDatagrid();
		});
	}
}
function getParam() {
	var param = {
	     
	    "id": ${model.id},        	    
       	    "model.audit_user": getInputValue("audit_user"), 
       	    "model.audit_time": getInputValue("audit_time"),        	    
       	    "model.out_status": getInputValue("out_status"),
	}
	for(key in param) {
		if(!param[key]) {
			delete param[key];
		}
	}
	return param;
}

//扩展js
</script>
<#include "/common/foot.html"/>
